package com.sc.nft.service;

import com.sc.nft.entity.vo.LogisticsVO;

import java.util.List;

/**
 * 物流信息表(MallLogistics)表服务接口
 *
 * @author wwc
 * @since 2023-05-17 13:17:43
 */
public interface MallLogisticsService {

    /**
     * 获取物流信息
     *
     * @param logisticsId
     */
    LogisticsVO get(String logisticsId, String tel);

    /**
     * 根据订单号和物流单号获取物流信息
     *
     * @param orderId
     * @param logisticsId
     * @return
     */
    List<LogisticsVO> getByOrderIdAndLogisticsId(String orderId, String logisticsId);

    /**
     * 订单id
     *
     * @param id
     * @param logisticsId
     * @return
     */
    LogisticsVO getByIdAndLogisticsId(Long id, String logisticsId);


    /**
     * 订单id
     *
     * @param id
     * @param logisticsId
     * @return
     */
    List<LogisticsVO> batchGetByIdAndLogisticsId(Long id, String logisticsId);

}
